package com.xyw.entity;

import java.sql.Date;
import java.sql.Timestamp;

public class User {// 用户表
	private int userId;// 用户ID
	private String userName;// 用户名
	private String userPassword;// 用户密码
	private String userEmail;// 用户邮箱
	private String userProfilePhoto;// 用户头像
	private Timestamp userRegistrationTime;// 注册时间
	private Date userBirthday;// 用户生日
	private int userAge;// 用户年龄
	private String userTelephoneNumber;// 用户手机号
	private String userNickname;// 用户昵称
	private int userJurisdiction;// 用户权限    0.游客    1.商家
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public String getUserProfilePhoto() {
		return userProfilePhoto;
	}
	public void setUserProfilePhoto(String userProfilePhoto) {
		this.userProfilePhoto = userProfilePhoto;
	}
	public Timestamp getUserRegistrationTime() {
		return userRegistrationTime;
	}
	public void setUserRegistrationTime(Timestamp userRegistrationTime) {
		this.userRegistrationTime = userRegistrationTime;
	}
	public Date getUserBirthday() {
		return userBirthday;
	}
	public void setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
	}
	public int getUserAge() {
		return userAge;
	}
	public void setUserAge(int userAge) {
		this.userAge = userAge;
	}
	public String getUserTelephoneNumber() {
		return userTelephoneNumber;
	}
	public void setUserTelephoneNumber(String userTelephoneNumber) {
		this.userTelephoneNumber = userTelephoneNumber;
	}
	public String getUserNickname() {
		return userNickname;
	}
	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}
	public int getUserJurisdiction() {
		return userJurisdiction;
	}
	public void setUserJurisdiction(int userJurisdiction) {
		this.userJurisdiction = userJurisdiction;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPassword=" + userPassword + ", userEmail="
				+ userEmail + ", UserProfilePhoto=" + userProfilePhoto + ", UserRegistrationTime="
				+ userRegistrationTime + ", UserBirthday=" + userBirthday + ", UserAge=" + userAge
				+ ", UserTelephoneNumber=" + userTelephoneNumber + ", UserNickname=" + userNickname
				+ ", UserJurisdiction=" + userJurisdiction + "]";
	}

	private Integer id;
	private String name;
	private String password;
	private String phone;
	private String email;
	private String address;
	private Integer status;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}







}
